/* ==================================================================   
 * Created [2009-4-27 下午11:32:55] by Jon.King 
 * ==================================================================  
 * TSS 
 * ================================================================== 
 * mailTo:jinpujun@hotmail.com
 * Copyright (c) Jon.King, 2009-2012 
 * ================================================================== 
*/

package com.jinhe.tss.core.cachepool.strategy;

/** 
 * <p> Constants.java </p> 
 * 
 * @author Jon.King 2006-12-29
 */

public interface CacheConstants {
    
    public final static String TRUE  = "1";
    public final static String FALSE = "0";
    
    /**
     * 已经初始化好的各缓存池key
     */
    public final static String XFORM_TEMPLATE_POOL = "xform_template";
    public final static String GRID_TEMPLATE_POOL = "grid_template";
    public final static String CONNECTION_POOL = "connectionpool";
    public final static String ASSIMENT_POOL = "assignmentpool";
    public final static String THREAD_POOL = "threadpool";
    
    /**
     * 缓存策略文件目录
     */
    public final static String STRATEGY_PATH = "META-INF/CacheStrategyConfig.xml";
    public final static String STRATEGY_BACKUP_PATH = "META-INF/CacheStrategyConfig.backup.xml";
    /**
     * 缓存策略节点名称
     */
    public final static String STRATEGY_NODE_NAME = "/strategies/strategy";
    /**
     * 缓存策略模板目录
     */
    public final static String CACHESTRATEGY_XFORM_TEMPLET = "template/cache/xform/CacheStrategyXForm.xml";
}

